<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/vue2.6.12.js"></script>
</head>
<body>
    <div id="app">
        <div>
            <ul @click="handleUlClick()">
                <li @click.stop="handleLiClick()">事件泡泡</li>
            </ul>
        </div>
    </div>
</body>
<script>
    var vm = new Vue({
        el:'#app',
        data:{

        },
        methods:{
            handleUlClick(){
                console.log('ul');
            },
            handleLiClick(){
                console.log('li');
            }
        }
    });
</script>
</html>